home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils1 / dosmenu6.zip / DMSAMPLE.DOC < prev    next >
Text File  |  1994-05-22  |  3KB  |  98 lines

  1.                             EXAMPLE MENU FILE
  2. ══════════════════════════════════════════════════════════════════════════════
  3.  
  4. The below network menu file example is listed with a generous helping of legal
  5. and illegal comments.  Note that comments must commence only at the start of a
  6. line and NOT at the middle to end of a line even though we use it here to
  7. better comment the code for you.
  8.  
  9. ;The menu name for this overall main menu below.
  10. %Our Network Menu, 10, 5      ;Numbers optional: 10 = x, 5 = y on screen
  11.                               ;  placement of upper left corner of menu window
  12. ;This server section means any server and/or a stand-alone environment.
  13. ;These commands will be at the top of every user's menu.
  14. ;Note the required blank line before the :SERVER_NAME line
  15.  
  16. :ALL
  17. M Mail
  18. ;All members of EMAIL_USERS will get the Mail menu item.
  19.     {g=email_users}
  20. ;The help line for this item (shown at the bottom of the screen)
  21.     #Send and receive mail to and from other users
  22. ;If selected, the command/permanent batch file EMAIL will be run.
  23.     email
  24.  
  25. ;This section is for CENTRAL server users only.
  26. :CENTRAL
  27. P Paradox
  28.     {g=support,paradox} {p=restrict}
  29.     #Database program
  30.     f:                                 ;A multi-command item that
  31.     cd\apps\paradox                    ;  generates a temp batch file.
  32.     paradox                            ;
  33. W WordPerfect
  34.     {g=wp_central} {m=wp51:25}         ;Metered for 25 instances.
  35.     #Word processor
  36.     f:\apps\wp51\wp
  37. ;The next item ask a yes/no question first.
  38. C Check printing
  39.     {u=check_printer} {q=Are you sure you want to print checks?}
  40.     #Print all due checks to the upstairs printer
  41.     checkprt
  42. I INSAPP
  43.     {g=insapp_users,support;u=adm} {s=server1}
  44.     #Our main database
  45.     ins
  46. S Support Menu                ;Another complete menu file which is called
  47.     /load support         ;  with this line.
  48. A Accounting Menu             ;Another complete menu file which is called
  49.     /menu acctng          ;  with this line and becomes the default menu.
  50. N Support Batch               ;Chain to a new startup batch file; here
  51.     /new g:\login\support ; G:\LOGIN\SUPPORT.BAT.
  52.  
  53. ;This section is for BRANCH_ONE server users only.
  54. :BRANCH_ONE
  55. A Central connection
  56.     {g=awlan}
  57.     #Connect with the home office by modem
  58.     connect
  59. W WordPerfect
  60.     {g=wp_branch}
  61.     #Word processor
  62.     wp
  63.  
  64. ;This server section means any server and/or a stand-alone environment.
  65. ;These commands will be at the bottom of every user's menu.
  66. :ALL
  67. U Utility Menu
  68.     #Various utilities
  69.     %Utility Menu
  70. B Backup Server Menu
  71.     #Backup options
  72.     %Backup Server Menu
  73. L Logout of network
  74.     {q=Are you sure?}
  75.     #Log out of the network
  76.     logout                ;You could also enter 'goto end' to simply quit
  77.                               ;  the menu system, if desired.
  78. ;Remember to place a blank line before all %SUB-MENU NAME lines
  79. %Utility Menu, 5, 10          ;Display at xy coords 5 and 10 on screen.
  80. P Change your network printer
  81.     capture @             ;This command asks a question first.
  82. D Directory of...
  83.     #Obtain a directory listing
  84.     dir @ /p              ;This command asks a question first.
  85. D Directory of (another way)...
  86.     echo Directory of what?
  87.     dmquery 1             ;DMquery external batch utility.
  88.     echo Switches (/w /p, etc)?
  89.     dmquery 2
  90.     dir %_dmq1% %_dmq2%
  91.     pause
  92.  
  93. %Backup Server Menu
  94. D Daily backup procedure
  95.     bud
  96. W Weekly backup procedure
  97.     buw
  98.